<!DOCTYPE html>

#set(title="修改用户")
#@layout()

#define body()
<div class="form_box">
    <form action="/data/update/" method="post" enctype="multipart/form-data">
        <fieldset class="solid">
            <legend>修改用户</legend>
            <input type="hidden" name="user.id" value="#(user.id??)"/>
            <div>
                <label for="username">用户名</label>
                <input id="username" readonly type="text" name="user.username" value="#(user.username??)"/>#(usernameMsg)
            </div>
            <div>
                <label for="pwd">密码</label>
                <input id="pwd" type="password" name="user.pwd" value="#(user.pwd??)"/>#(passwordMsg)
            </div>
            <div>
                <label for="pwdagn">再次输入</label>
                <input id="pwdagn" type="password" name="user.salt" value="#(user.salt??)"/>#(passwordMsg)
            </div>
            <div>
                <label>&nbsp;</label>
                <input value="提交" type="submit">
            </div>
            <div>
                <input type="file" name="headsculpture"/>
            </div>
        </fieldset>
    </form>

</div>

#define js()
<script type="text/javascript" src="/assets/js/edit.js"></script>
#end

#end
